import axios from 'axios'

const request = axios.create({
  baseURL: 'http://localhost:3333'
})

export const getListAPI = () => {
  return request.get('/api/list').then(res => res.data)
}